Volume Delta [hapharmonic]Volume Delta: Volume Delta is an indicator that simplifies how you analyze trading volumes and the percentage of buy-sell activities effortlessly.
As a trader or market analyst, understanding underlying volume and trade flows is critical. The Volume Delta indicator provides thorough insight into both the total volume and the percentage of buying versus selling within the current candlestick. This information is pivotal for those looking to gauge market momentum and sentiment more effectively.
Additionally, the Volume Delta indicator can plot the candlestick colors based on the percentage of the dominant buying or selling volume. The area between the open and close prices of the candlestick is considered 100% and fills with colors corresponding to the predominant volume at that percentage.
Volume Delta also integrates the concept of Net volume. This component is crucial as it reveals the real market sentiment by calculating the difference between the volume of trades executed at an uptick and those at a downtick.
🟠 Overview
This indicator now displays in two layouts. Recently, Tradingview introduced the "force_overlay=true" function in Pine Script , allowing plots to be moved to the main chart. Thus, all displays are from the same indicator.
🟠 USAGE
From the data displayed in 'plot.style_columns' , the peak area represents the entire volume, accounting for 100%. Within this area, there are two color levels indicating volume. If one type of volume, whether buying or selling, exceeds the other, the larger volume will be positioned behind and the smaller in front. This arrangement prevents the scenario where a higher buying volume obscures the smaller selling volume. Therefore, the two colors can be switched between the front and the back as needed.
As you can see, the 12 and 26-day Exponential Moving Averages (EMAs) are used, with the Volume Confirmation Length set at 6. Therefore, the crossing of the EMAs proceeds normally, but it is highlighted with three triangular arrows to indicate a high likelihood of a valid crossover. However, if the volume is insufficient, these markers won't be displayed, although the EMA crossover will still occur as usual. This can be useful for using volume to verify the significance of the EMA crossover.
🟠 Setting
If you enable the label, please be aware that the chart size will shrink, causing the candlestick display to become unclear. Therefore, you might need to select "Logarithmic" at the bottom right of your screen, or for mobile applications, press and hold on the price scale and choose "Logarithmic" to adjust the scale appropriately.
Enjoy!
Cerca negli script per "Buy sell"
RSIBands with BBThis indicator combines three popular technical analysis tools:
RSI Bands: These bands are based on the Relative Strength Index (RSI) and visually represent overbought and oversold zones. The indicator plots upper and lower bands calculated using a user-defined RSI level and highlights potential buying and selling opportunities near these zones.
Bollinger Bands: These bands depict volatility with a moving average (basis line) and upper and lower bands at a user-defined standard deviation away from the basis line. Narrowing bands suggest potential breakouts, while widening bands indicate increased volatility.
Williams Fractals (with Confirmation): This custom function identifies potential reversal points based on price action patterns. The indicator highlights buy/sell signals when a confirmed fractal forms (previous fractal and price crossing a Bollinger Band).
Key Features:
User-defined parameters: You can adjust the RSI level, Bollinger Band standard deviation, and fractal period according to your trading strategy.
Visual confirmation: The indicator highlights confirmed buy/sell signals based on fractal patterns and price crossing Bollinger Bands.
Flexibility: This indicator provides a combination of trend, volatility, and reversal identification tools, allowing for a multi-faceted approach to technical analysis.
How to Use:
Add the indicator to your chart.
Adjust the RSI level, Bollinger Band standard deviation, and fractal period based on your preference.
Look for buy signals when a green background appears and there's a confirmed up fractal (upward triangle) with the price crossing above the upper Bollinger Band.
Look for sell signals when a red background appears and there's a confirmed down fractal (downward triangle) with the price crossing below the lower Bollinger Band.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Always conduct your own research and due diligence before making any trading decisions.
Volume Based S/R with EMA Crossover SignalsThis Pine Script indicator, titled "Volume Based S/R with EMA Crossover Signals," is designed for use on the TradingView platform and overlays on price charts to help traders identify potential buy and sell opportunities based on volume changes and EMA (Exponential Moving Average) crossovers. Let's break down its components for a detailed understanding:
Inputs
length: The number of bars used to calculate the standard deviation of the volume change. This parameter helps in identifying significant changes in volume over a specified period.
threshold: A multiplier applied to the standard deviation of volume change to determine significant spikes in volume, which are then used to identify support and resistance levels.
smoothLength: The length of the EMA used to smooth the price data, providing a clearer view of the overall price trend and helping to confirm trade signals.
fastEMALength and slowEMALength: The lengths of the fast and slow EMAs, respectively. These are used to generate crossover signals, where the crossing of the fast EMA over the slow EMA may indicate a potential entry or exit point.
Calculations
Volume Change and Standard Deviation: The script calculates the percentage change in volume from one bar to the next and then computes the standard deviation of these changes over the specified length. This process helps identify unusual volume activity, which can precede significant price movements.
Signal Generation Based on Volume: When the absolute value of the volume change divided by its standard deviation exceeds the threshold, it signals significant volume activity, potentially indicating strong support or resistance levels at previous highs or lows.
Smoothed Price: An EMA applied to the closing prices over smoothLength bars helps to confirm the trend direction and filter out noise.
EMA Crossover Signals: The script calculates two EMAs based on the fastEMALength and slowEMALength inputs. A crossover of these two averages generates potential buy or sell signals.
Logic for Buy/Sell Signals
Buy Signal: Generated when the price is above the identified support level (determined by significant volume activity), the fast EMA crosses above the slow EMA, and the price is also above the smoothed price. This confluence of conditions suggests upward momentum and potential buying opportunity.
Sell Signal: The opposite conditions generate a sell signal — when the price is below the identified resistance level, the fast EMA crosses below the slow EMA, and the price is below the smoothed price, indicating downward momentum and a potential selling opportunity.
Plotting
Support and Resistance Levels: Plotted as circles on the chart, with resistance levels in red and support levels in green, based on significant volume activity.
Smoothed Price and EMAs: The smoothed price line and both EMAs are plotted on the chart to help visually assess the trend and the crossover signals.
Buy and Sell Signals: Represented by shapes plotted on the chart, indicating the recommended trading action (buy or sell) based on the combined indicator logic.
Filling Between Support and Resistance: For visual clarity, the area between the identified support and resistance levels is filled, highlighting the range within which the price is expected to fluctuate.
This indicator offers a multi-faceted approach to trading, combining volume analysis with trend following via EMA crossovers. By identifying significant volume-based support and resistance levels and confirming trend direction with EMA crossovers and smoothed price trends, traders can make more informed decisions regarding entry and exit points. However, it's important to use this indicator as part of a comprehensive trading strategy, considering other factors such as market conditions, news, and technical analysis from other indicators.
TradesAI - Elite (Premium)This is an all-inclusive, premium indicator that focuses mainly on price action analysis, a form of looking at raw price data and market structure to analyze and capture areas of interest where price could react.
This indicator is a perfect trading companion that saves you a lot of time in trading price action. Some of the popular methods that use price action analysis are "Smart Money Concepts (SMC)", "Inner Circle Trader (ICT)", and "Institutional Trading".
🔶 POWERFUL TOOLS
The indicator combines three main tools as a trading suite:
Trendlines
Market Structure Breakouts (MSB)
Order Blocks (OBs) and Reversal Order Blocks (ROBs)
These 3 main tools are interconnected together. Below we go over each, and then explain how and why they are brought in together. Please also note that the indicator's settings have tooltips next to most of them, with more detailed information.
🔶 TRENDLINES
This indicator automatically draws the most relevant Trendlines from pivot high/pivot low (based on the defined settings) as origins, while keeping track of candle closes across these Trendlines to adjust or invalidate accordingly.
The indicator will draw all possible Trendlines up to the maximum allowed by TradingView's PineScript. It uses a bullish pivot high candle to draw downtrends, and a bearish pivot low candle to draw uptrends. The algorithm will draw the most suitable active Trendlines from those origin points.
The indicator takes the origin point as the first point of the Trendline, then starts looking for the immediate next same-type candle (bullish to bullish or bearish to bearish), to draw the Trendline between the origin candle and this newer candle.
An uptrend is a ray connecting two bearish candles, as long as the second candle has a Low higher than the low of the origin (first) candle. A downtrend is a ray connecting two bullish candles, as long as the second candle has a high lower than the high of the origin (first) candle.
Upon drawing, the indicator then starts monitoring and adjusting this Trendline, by keeping the origin always the same but changing the second point. The goal is to keep reducing the slope of the Trendline till it is at 0 degrees (horizontal line). That then makes the Trendline "final". Note that you have the option to keep all Trendlines or just show the final, in the settings.
So, the algorithm has three states for the Trendlines:
Initial: not tested, meaning price hasn't yet broken through it and closed a candle beyond it, to cause a re-adjustment of this Trendline.
Broken: a candle hard closed (opened and closed) across it but still, the direction of the trend is maintained with a new Trendline from the same origin – could be replaced (or kept on the chart as a "backside", which is what we call a broken Trendline to be tested from the opposite side) with a new Trendline from the same origin, to the newest candle that caused the break to happen, as then it becomes the new second point of that Trendline.
Final: a candle hard closed (opened and closed) across it and can't draw a new Trendline from the same origin maintaining the direction of the trend (so an uptrend becomes a downtrend or a downtrend becomes an uptrend at this point, which is not allowed). This marks the end of the Trendline adjustment for that origin.
To summarize the Trendlines algorithm, imagine starting from a candle and drawing the Trendline, then keep re-adjusting it to make its slope less and less, till it becomes a horizontal line. That's the final state.
Here is a step-by-step scenario to demonstrate the algorithm:
Notice how first an Uptrend (green ray) is drawn between point A origin pivot (picked by our smart algorithm) and point B, both marked by green arrows:
Uptrend then turned into backside (where it flips from diagonal support to resistance where liquidity potentially resides):
Then a new uptrend is drawn from the same point A origin pivot to a new point B matching the filters in settings.
Finally, it turns also into a backside and is considered final because no more uptrends could be drawn from the same point A origin point.
Unlike traditional Trendline tools, this indicator takes into account numerous rules for each candlestick to determine valid support and resistance levels, which act as liquidity zones.
Unlike conventional Trendline tools, this indicator allows the user to define the pivot point left and right length to capture the proper ones as origins, then automatically recognizes and extends lines from them as liquidity zones where a reaction is expected. Moreover, the indicator monitors those Trendlines in real-time to switch them from buying to selling zones, and vice-versa, as the price structure changes.
Features
Log vs. Linear scale switch to show different Trendlines accordingly. When updating the Trendlines, or deciding whether Touches/Hard Closes are met, it makes a difference.
Ability to show all forms of Trendlines, final Trendlines or just backside Trendlines.
Why is it used?
For experienced traders, it offers the advantage of time efficiency, while new traders can bypass the steep learning curve of drawing Trendlines manually, which could practically be drawn between any two candlesticks on the chart (many variations).
🔶 MARKET STRUCTURE BREAKOUT (MSB)
The Market Structure Breakouts (MSB) tool is a trading tool that detects specific patterns on trading charts and provides ‘take profit’ regions based on the extended direction of the identified pattern. A breakout is a potential trading opportunity that presents itself when an asset's price moves away from a zone of accumulation (i.e. above a resistance level or below a support level) on increasing volume. The most famous form of market structure breakout is double/triple tops/bottoms, or what is referred to as W or M breakouts.
See this example below of how our MSB smart algorithm picked the local bottom of INDEX:BTCUSD
Here is a step-by-step scenario to demonstrate the algorithm:
First, the algorithm picks the pivot points according to our Machine Learning (ML) model, which uses Average True Range (ATR) and Moving Averages of various types to decide. It will then signal a Market Structure Breakout (MSB):
You may either short (sell) this MSB towards the targets (dotted green lines) and/or buy (long) at the targets (dotted green lines). Usually, these targets provide scalp moves, according to our model, but they may also act as strong reversal points on the chart.
Unlike standard indicators, the MSB tool identifies patterns that may not appear in every time frame due to specific conditions that need to be met, including Average True Range (ATR) and Moving Averages at the time of creation. Once these patterns are identified, the tool gives ‘take profit’ regions in the direction of the trading pattern and even allows for trading in the opposite direction (contrarian/counter-trend scalps) once those regions are reached. A confirmed breakout has the potential to drive the price to these specific targets, calculated based on our Machine Learning (ML) model. The Targets are the measured moves placed from the breakout point.
Features
Log vs. Linear scale switch to show different MSBs accordingly based on the ratios.
Detects trading patterns with specific conditions.
Ability to specify how sensitive the pivot points are for capturing market structure breakouts.
Provides take profit regions in the extended direction of the pattern.
Allows for versatile trading styles by permitting trades in the opposite direction (contrarian or counter-trend) once the take profit region is reached.
Highlights 2 levels of interest for potential trade initiation (or as targets of the MSB move).
🔶 ORDER BLOCK (OB) and REVERSAL ORDER BLOCK (ROB)
Before diving deeper into OBs and ROBs, you may consider the following chart for a general understanding of price ladders, and how they break. This is a bearish price ladder leaving Lower Lows and Lower Highs after an initial Low and High (L->H->LL->LH). Bullish ladders are the opposite (H->L->HH->HL).
In this bearish ladder case, notice the numbers representing the highs made (being lower). While this is a clean structure, markets don't always create such clean ladders, but you may switch to a higher timeframe to see it in a clearer form (usually, you will be able to spot it there).
In SMC or ICT concepts, the "Break Of Structure (BOS)" is pretty much creating a new lower low (LL) for the bearish ladder (and the creation of a higher high (HH) for the bullish ladder). By doing so, markets are grabbing liquidity below these levels and could either continue the ladder or stop/flip it. This gives you the context of how the ladder prints.
Price usually ends the ladder with a "Change of Character (CHoCH)", which represents a BOS (to grab liquidity) followed by an aggressive move in the opposite direction, which could lead the market to close the gaps and balance out. It is considered a good practice to then target liquidity in the opposite direction when a CHoCH happens, meaning for a bearish ladder you may target the pivots marked by 3, 2 and 1 at the top (start of the ladder).
Now we move to Order Blocks (OBs) and Reversal Order Blocks (ROBs). Think of them as sniper zones or micro ladders inside the bigger ladder/structure.
Order Blocks are usually used as zones of support and resistance on a trading chart where liquidity is present, or what some traders call "potential institutional interest zones". Order Blocks can be observed at the beginning of these strong moves of BOS or the CHoCH, leaving behind a zone (one or more candles) to be revisited later to balance the market. Therefore, these are interesting levels to place Limit/Market orders (sell the peaks or buy the valleys) instead of doing so at the swing highs or swing lows of the ladder (where BOS or CHoCH happened). The idea here is that the price could go deep into the ladder's step (peak or valley), and by doing so, it usually goes to these zones.
A bullish Order Block (Valley-OB) is the last bearish candle of a downtrend before a sequence of bullish candles (thus forming a "Valley"). A bearish Order Block (Peak-OB) is the last bullish candle of an uptrend before a sequence of bearish candles (thus forming a "Peak"). Our indicator captures the full range zones of the OB meaning not only the last candle but the sequence of same-type candles immediately next to it, which creates a zone, thus the name "OB/ROB Zone". Not only does the tool mark those levels on the chart, but it also has a smart tracking algorithm to remove the appropriate levels dynamically. It will monitor, candle by candle, what is happening to all the OBs/ROBs, and update them according to how they are being tested/visited (eg. weak testing being a touch, and strong testing being a touch of the same colour candle).
Bullish Valley-OB:
Bearish Peak-OB:
The indicator follows our concept of "Zone Activation" to determine whether to mark zones with dashed or solid lines.
If we take a bearish Peak-OB as an example, notice how it first gets drawn with a dashed red line (as the algorithm monitors how far the price moved away from the zone):
As price moves away (distance based on our Machin Learning (ML) model), it turns into solid lines:
Some people prefer to enter market orders or limit (pending) orders close to the zone, while others wait for it to hit. You may wait for these zones to turn into solid lines (meaning that the price made a decent move away from it before revisiting it). It depends on your trading strategy.
When Order Block (OB) zones break instead of holding the ladder, they turn into what we call Reversal Order Blocks (ROB); our algorithm of flipping these zones where price could react from the other side of the OB. Our algorithm monitor and highlight the most suitable ones to trade, based on +30 conditions and variables by our Machine Learning (ML) models. Examples of ROBs in the SMC or ICT trading community are a "Breaker Block", a "Mitigation Block" or a "Unicorn Setup". However, our algorithm filters the zones based on many factors such as ratios of price movement before, inside and after these zones, along with many other factors.
The algorithm monitors the ratios of how price moved into and away from the OB/ROB, as well as the type of move happening, to then filter the ones that are considered of high probability to break/not do a reaction.
A bullish Valley-OB (green) turns into a bearish Valley-ROB (neon red) where you may short (sell), while a bearish Peak-OB (red) turns into a bullish Peak-ROB (neon green) where you may long (buy).
Example of a bullish Valley-OB that turned into a bearish Valley-ROB:
Features
Log vs. Linear scale switch to show OBs/ROBs accordingly based on the ratios and the price action around these zones (before and after creation).
Uses our Machine Learning (ML) model to determine relevant Order Blocks (OBs) to show or hide based on price action.
Considers distribution and accumulation candles to find relevant Order Blocks.
Various types of triggers to mark those Order Blocks and their zones: breakout, close, hard close (open and close) or full close (low, high, open and close).
Monitors the 1:1 expansion of price from key areas of interest, which would change the importance of the zones through our concept of “Zone Activation”.
Allows for customization in the settings to display different types of Order Blocks (e.g., tested or untested).
Marking and invalidating levels based on many variables, including single or multiple candle zones, touching/closing beyond specific levels, weak/strong testing criteria, price tolerance % (near a level), and many more.
Provides color-coded visual representation for easier interpretation.
Why is it used?
Order Blocks (OB) and Reversal Order Blocks (ROB) represent the building blocks of price ladders, in conjunction with Swing Highs and Swing Lows. By identifying where liquidity is potentially present, they become common targets for big market players. Additionally, they provide clear invalidation points based on various types of candle closes, such as hard closes or simply a candle close.
One strategy that could be used is to open positions at these OB or ROB Levels as long as the chart maintains the trend (ladder), for a potentially higher win rate (or against it for a quick scalp). Be mindful of the breaking of a ladder or the building of a new one. A ladder breaks with a hard close (open and close) of a candle across the closest two levels; a ladder builds by not breaking back down across the levels it has tested. By definition, strong ladders will have a few untested levels and come back to wick them but still retain the structure of the laddering direction (trending with Lower Lows + Lower Highs or Higher Lows + Higher Highs).
🔶 COMBINING ALL TOOLS
In summary, Trendlines could be great tools to give you a general context of whether the price is laddering up or down. Once you spot the ladder, your goal is to either trade in its direction (not to go against the trend) or to counter-trend trade (contrarian). To do so, you could use the MSB tool to spot these BOS/CHoCH. And to give you more precise entries, you may rely on the OB/ROB zones which usually mesh over the ladder, to provide a sniper entry!
🔶 RISK DISCLAIMER
Trading is risky, and most day traders lose money. The risk of loss in trading can be substantial. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results. All content is to be considered hypothetical, selected after the fact, in order to demonstrate our product and should not be construed as financial advice. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition.
SFX Signals & Overlays [YinYangAlgorithms]SFX Signals & Overlays aims to help traders Identify Buy & Sell locations, Reversals, Volatility Zones, Support & Resistance and Overbought & Oversold Zones. All of these may work in harmony with each other by helping to identify when to enter and exit a trade; as well as helping to determine the risk / reward the trade may ensue.
SFX Signals & Overlays’s Buy & Sell signals are momentum based, meaning the Initial ‘Buy’ & ‘Sell’ signal may not be exactly where you want to get in/out. What may occur is the initial signal appears, a few more continuation signals appear afterwards (always in a chain); and once the momentum has ended a ‘Reversal’ signal appears. The reversal is there to help signify that the ‘opportune’ time to buy/sell may have passed and the price may now correct in the opposite direction. This Indicator aims to Buy Low and Sell High; and therefore the Buy signal momentum may occur as the price is either about to fall, currently falling or has started to consolidate. When the Buy signal momentum has ended, this means the momentum is at an impasse, but is favoring Buy momentum and a reversal (correction) may occur.
Buying & Selling at reversal signals may be profitable, however it may be less risky to DCA into your long / short positions during the Buy/Sell momentum signals instead. Let's get into the Tutorial so you can better understand how our SFX Signals & Overlays indicator works.
Tutorial:
Our example above showcases how our SFX Signals & Overlays Indicator looks on the default settings ‘Medium’ for each of our Algorithm Settings:
Trend Sensitivity
Signal Sensitivity
Zone Sensitivity
All of our Algorithm Settings feature 3 different speeds:
Fast
Medium
Slow
These speeds may be applied to each Algorithm Setting individually and affect how quickly they adapt to the current market's momentum. This allows you to tailor this Indicator to fit your trading style by adjusting it to meet your needs accordingly. If you are someone who likes to swing trade on the 1-5 minute timeframe, you may find better confluence with all settings on ‘Fast’. Medium term holders and traders may find better results with all settings on ‘Medium’. Likewise, long term investors may find best results with all settings on ‘Slow’. However, this shouldn’t stop you from finding your own best result by adjusting them individually to meet your own unique trading style.
SFX Signals & Overlays helps you identify shifts in momentum by displaying Momentum Signals. Momentum Signals are shown by either a Green or Red Triangle. Momentum Signals can continue for quite some time until the momentum has ended. We rank the first Momentum Signal from 1/5 to 5/5 for their strength and may help determine the chances of the momentum shift occurring. Once the Momentum Signals have ended we display a Reversal Signal. This Reversal Signal helps signify that the Momentum has ended. When the Momentum ends it means that a reversal may have started. This reversal may mean the price will continue in the direction the signal mentioned; or it may mean the price will consolidate. If the price consolidates then the signal is void as when the consolidation ends the price could go in either direction. If you notice consolidation occurring after a Reversal Signal; wait for more confirmations as it is now too risky.
Our Indicator displays different evaluations for each INITIAL Buy and Sell signal. These evaluations rank the current start of the signal from 1-5; 1 being the lowest and least reliable, 5 being the highest and most reliable. These rankings aren’t indefinite and are simply an evaluation at the time of the initial signal. We may potentially provide evaluations at the reversal later on if requested enough. When a Buy or Sell signal occurs this defines where momentum is occurring in this direction. This momentum is indicated by momentum signals shown through red / green triangles. These triangles indicate that this momentum is present. When these momentum signals end is when the Reversal Signal appears indicating that since this momentum has ended, there may be a decent chance of a reversal occurring. There also adherently may be the potential of consolidation occurring; but generally it means there is either a reversal, or consolidation + then a reversal or a continuation; however it may be apparent that the momentum has ended.
ES:
NQ:
BTC:
If you refer to the 3 examples above, we show how the ES, NQ and BTC look within a 5 minute scalping example. Essentially you’d make your decision on the Buy / Sell signal, the momentum signals, the Reversal Signals, the Trend Colors as well as other oscillators and Due Diligence.
Remember, there’s no such thing as a perfect entry / exit, the more you understand about trading and do your own Due Diligence the better. These Buy and Sell as well as Reversal signals attempt to locate and rank momentum shifts to help you identify where the momentum may be ending and reversing in the opposite direction.
Our zones defined by the Outer (red) and Inner (green) are representations of not only Support and Resistance locations, but likewise Overbought and Oversold locations. These zones help in multiple ways. The hard lines that define each zone's start / end are very useful locations of support / resistance which may indicate where the price will bounce off of. Likewise, when the price is within these zones it represents the price being Overbought or Oversold. Then the price is for instance within the Red Resistance Zone, what generally may happen is the price will correct quickly to get back to the ‘Black Empty Zone’ between the Red and Green zones; OR it may consolidate sideways until it has entered the ‘Black Empty Zone’. This is how the price may redeem itself back to being valued correctly. These zones help you identify and understand, in concatenation with our signals when and how much the price may move.
Our Settings are minimalistic so you don’t need to worry and get overwhelmed about changing values and trying to fiddle to find which values works the best for what. Our Algorithms will take care of all of that for you. Simply select the speeds for your Trend, Signals and Zones and you’re good to start trading! You can likewise customize what information is visible to you and the colors to better customize your experience.
Fast:
Medium:
Slow:
The 3 examples above display what the same portion of the chart looks like when Trend, Signal and Zone Sensitivity is changed from Fast, Medium and Slow.
As you can see, they all look quite different in the results they produce. By default all settings are set to Medium, however they can all be individually changed to suit your trading style and needs.
Our Indicator offers many different alert options which may help you stay informed with how the market is moving and any momentum changes that may occur.
Settings:
1. Algorithm Settings
Trend Sensitivity (Fast, Medium, Slow): Trend Sensitivity refers to how quickly the Trend Bar Colors change. Fast: will change colors very quickly if it senses momentum is changing. Medium: will change almost as quickly as Fast, however, rather than swapping from Bullish to Bearish momentum right away it has an intermediate 'Neutral - Slightly Bullish (Yellow)' and 'Neutral - Slightly Bearish (Orange)'. This way you can better visualize when the momentum is dying in the trend and starting back up by having these trend 'Neutral/Consolidation' areas. Slow: will attempt to only change Trend Bar Colors when the momentum has surely shifted. This may result in a bit of lagging behind.
Signal Sensitivity (Fast, Medium, Slow): Signal Sensitivity refers to how quickly the Buy & Sell Momentum Signals & Reversal Signals appear. These signals are meant to appear when it thinks the price may reverse, but the speeds refer to how much of a reversal they think may happen. Fast: will attempt to locate any and all momentum swings. Medium: will attempt to only locate momentum swings which may drive the price up considerably. Slow: will attempt to locate only the most extreme momentum swings. This may result in some potentially good ones missed however; but the ones it finds may have a higher probability of occuring.
Zone Sensitivity (Fast, Medium, Slow): Zone Sensitivity refers to how quickly the Zones expand based on price movement. These zones may be useful for not only seeing Support & Resistance; but also identifying when it is Overbought & Oversold; as well as visualizing volatility between the Black (Empty area) and the zones. The lines that separate each zone are the Support and Resistance locations; the area within the zones are simply the spacing between these Support and Resistance locations. However, the further the price is to the outer zones does represent Overbought and Oversold. Fast: will expand very quickly. This causes the price to be within the Black (Empty area) more often. This may be useful for finding extremities in price movement which may have a better chance of correcting. Medium: moves fast but not anywhere close to as fast as 'Fast'. Medium will hold its values in an attempt to be as accurate as possible for identifying Support and Resistance locations. Slow: will expand very slowly. This may be useful for identifying Support & Resistance as well as Volatility targets on higher time frames since these zones move much slower.
2. Display Settings:
Show Trend Bar Colors: Trend Bar Color are a way of seeing how the Trend is holding up on a bar by bar basis. This may be useful for seeing momentum starting, ending or simply dying down before any signals actually appear.
Signal Text Display (Both, Buy & Sell, Reversals, None: Signals are a way of seeing potential changes in momentum and when they have actually occurred. Our signals also rank from 1/5 to 5/5 how strong of a chance this momentum change may occur (only at the time of the signal, not at the time of the reversal). These may be useful as potential Entry and Exit locations; as well as when you see the reversal, you know that this momentum change has either begun or a consolidation may be occurring. If a consolidation occurs, the signal is no longer valid as the price can now go either way and it is best to wait for more signals or other technical analysis to determine momentum and movement.
Zone Display (All, Outer + Middle, Inner + Middle, Outer, Middle, Inner, None): Zones are composed of 3 areas above and below. These areas attempt to project Support & Resistance locations as well as display when the Price is Overbought and Oversold. You can specify which zones you wish to view, however all are important.
3. Color Settings:
Buy Color: This is the color of all Buy Signals and Zones.
Sell Color: This is the color of all Sell Signals and Zones.
Buy Reversal Color: This is the color of all Buy Signal Reversals.
Sell Reversal Color: This is the color of all Sell Signal Reversals.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
Time Relative Volume Oscillator | Flux Charts💎 GENERAL OVERVIEW
The relative volume indicator aims to improve upon the default existing relative volume indicator by comparing volumes between previous trading sessions rather than previous candles. As such, it works best on lower time frames as there is more data to compare with. The purpose of the indicator is to show how the current bar’s volume compares to the volume at the same time on previous trading days.
There exists a couple different modes and combinations that each provide a different perspective on the trading volume.
Oscillator mode
Oscillator mode starts with the same relative volume calculation, but adds two EMAs of different lengths that diverge and converge. Like the MACD, it plots the difference as a histogram. This functions as an easy way to view when relative volume is increasing or decreasing.
How to use:
The oscillator oscillates between -1 and 1. It moves along with volume direction, so this mode can be used to view the current volume direction in a lagging fashion. In oscillating markets, this indicator can give an idea of how buy/sell volume is moving and where it currently stands. Small arrows mark where reversals are predicted, when the histogram crosses over 0. The biggest pitfall of this mode is that, in a straight trending market, the two EMAs converge and it gives a false reversal signal.
Delta mode
Delta volume mode is a step up from the buy/sell volume mode. It separates both sides into the top and bottom, while also displaying the actual volume behind it in a semi transparent overlay. The best feature, however, is the delta oscillator. This oscillator fluctuates depending on how buy/sell volume is changing and plots bullish/bearish labels when the dominant side (bullish/bearish) changes. The signals, while a bit common, can sometimes dictate large direction changes, started by a dominant volume switch.
On top of different display modes, there is also one more volume mode: buy/sell volume. Instead of only showing the total volume and relative volume, it calculates and separates buying and selling volume.
This volume mode displays differently in all three viewing modes, but the basic principle is the same. It adds a vital piece of information to the chart without adding clutter. The calculation for buy/sell volume uses the candle wicks and body to compare bullish and bearish movement.
Classic mode
Classic mode takes the default volume indicator and improves upon it by also displaying the relative volume on top of the actual volume. Relative volume is calculated similarly between the three display modes: simply by comparing the current bar’s volume to the volume at the same time during previous trading days. Classic mode displays this “relative volume” as well as a simple EMA over top of the actual trading volume.
Originality
The script improves upon the existing relative volume indicator by using previous trading days rather than previous candles to generate the relative volume. On top of that, the calculation methods are unique, using different formulas like variations of the sigmoid function to smooth noise. The main issue this script aims to fix is that towards the start or end of the day relative volume indicators all see spikes as volume grows into close. The new relative volume calculations fix this problem and show what the “true” relative volume is because they compare the current bar to the “same” bar on previous trading sessions.
TanHef RanksTanHef Ranks: A numeric compass to market tops and bottoms.
█ Simple Explanation:
This indicator is designed to signal 'buy low and sell high' opportunities through numerical rankings, where larger numbers represent stronger signals. These numbered rankings are negative for potential ‘buy’ opportunities and positive for possible ‘sell’ moments.
█ Understanding Numerical Rankings:
The numerical rankings (from +18 to -18) identify and take advantage of market tendencies of prices reverting back to their historical average, also known as mean reversion. It operates on a simple principle: smaller values signal a potential for short-term mean reversion, while larger values suggest a probable shift in both short and long-term mean reversion. These values are derived from a careful analysis of both short and long-term mean reversions, providing traders with a nuanced understanding of market movements.
█ Analyzing Numeric Ranking Extremes:
The historical occurrences of numeric rankings are recorded into a table to help identify the previous extreme rankings (for example anything -10/+10 is considered extreme), which historically signal key turning points in market movements. The previously extreme rankings offer insights into potential end-of trend scenarios or trend reversals, thereby attempting to make high-probability trading decisions.
█ Risk Management Integration:
This indicator combined with disciplined risk management, offers a more secure trading approach. Applying a stop-loss near lows after entries on the oversold side (negative rankings) protects from large losses. Additionally, once prices reach overbought territories (positive rankings) applying a tight stop-loss helps to lock in profits while continuing exposure to the aggressive upwards momentum.
█ Calculation Methodology:
The indicator evaluates market momentum by analyzing upward and downward movements. It does this by referencing the 10 'length' input parameters, where 'length' refers to the number of price bars referenced. Each 'length' increases in value to analyze trends from short to long-term. A numerical rank is given when these trends align, with higher ranks requiring agreement across both short and longer-term lengths. This alignment across different time periods helps to ensure the indicator's signals are robust.
█ Indicator Stability (No Repainting):
When a price bar closes, its associated ranking is fixed and remains unchanged (some other indicators repaint, which means signals can change after a bar closes). While a price bar is open, its numeric ranking may increase in absolute value but never decrease towards zero, ensuring further stability. This stability and consistency is crucial for reliable back-testing and real-time analysis. Notably, in the highly improbable scenario where a ranking may exhibit both a positive and negative value simultaneously during extreme volatility, both the positive and negative numeric ranking is displayed.
█ Practical Application:
Pro Tip: Use at a minimum -4/+4 rank as potential basic buy/sell signals. Higher absolute numeric rankings are ideal as they indicate stronger reversal potential due to higher rankings identifying longer period reversals.
Entry Scenario: Refer to the chart below. The -9 ranking (3 occurrences in the table) indicates potential oversold conditions, suggesting a buy. Add a stop-loss near recent lows to protect against losses.
Exit Scenario: Refer to the chart below. The +7 ranking (6 occurrences in the table) indicates potential overbought conditions, suggesting a sell. Place a stop-loss to protect profits and remain exposed to further gains.
█ Indicator Settings:
Additional Timeframe: Allows users to include an extra timeframe's data in the analysis for more nuanced insights.
Lengths: Defines the periods over which the indicator calculates its rankings, affecting the sensitivity and time horizon of the signals.
Max Number Calculated: Sets the upper limit for the numerical rankings the indicator can output, tuning the extremity of the signals it identifies. (Reducing improves indicator load time)
Visual Styling (Current Timeframe): Customizes the appearance of the indicator's output on the chart for the selected timeframe, enhancing visibility and readability.
Table Settings: Adjusts the display properties of the table that lists numerical rankings, including its visibility, location, and size on the chart.
Indicator Display Type: Selects the mode in which the indicator presents its data, either overlaying the main chart or in a separate pane as an oscillator.
Alerts: Configures the conditions and frequency at which the indicator will trigger trading alerts, based on the numeric rankings and user-defined parameters.
█ How To Access:
You can see the Author's Instructions below to get access.
ATR & RSI ConfluenceIntroducing the "Confluence Strategy": Your Go-To for Savvy Trading!
1.ATR Trailing Stop - Your Market Volatility Compass:
What's ATR? Think of it as the pulse of market excitement. It measures how wildly prices are swinging.
ATR Trailing Stop: This is where the magic happens. Picture it as a dynamic line that dances with the price. When the market climbs, it climbs; when the market drops, it drops. It's your trend-tailored safety net, ensuring you ride the waves but bail before the tide turns!
2. RSI - The Market's Mood Ring:
RSI Lowdown: It's like a speedometer for price moves. Ranges from 0 to 100 – the closer to 100, the more it hints that prices might take a breather (overbought), and the closer to 0, the more it suggests prices might jump back up (oversold).
RSI Filter in Action: We're flipping the script here. No selling if the market's not in the oversold zone, and no buying if it's not feeling overbought. We're after that sweet momentum!
3. HEMA and Hull EMA - Your Trend Trackers:
HEMA & Hull EMA: These aren't your grandpa's moving averages. They're faster, sharper, and ready to catch the latest price trends. Like a hawk eyeing its prey, they zero in on the latest market moves.
4. Buy/Sell Signals - Where the Thrill Happens:
Buying (LONG): It's go-time when:
The price is strutting above HEMA.
RSI is strutting its stuff above the overbought catwalk.
ATR trailing stop is nodding along with an uptrend.
And hey, you're not already riding the long wave.
Selling (SHORT): You make your move when:
The price is dipping below HEMA.
RSI is lurking below the oversold alley.
ATR trailing stop is signaling a downhill.
And you're not already surfing the short tide.
How to Rock this Strategy:
New traders, tune in! This strategy's like a symphony of indicators – trend (HEMA and Hull EMA), momentum (RSI), and market volatility (ATR) – all harmonizing to cue your entry points. It's about syncing with the market's rhythm to up your trade game.
Absolutely, let's fine-tune it to a snappier beat:
Rock Your Trades with "Confluence Strategy," MACD & Volume Oscillator!
🔥 MACD: Set at 72/144 for a Smooth Groove:
Think of MACD (72/144 settings) as your market groove detector. It's calibrated to catch longer-term trends and momentum, perfect for harmonizing with our "Confluence Strategy." This setting helps smooth out market noise, giving you a clearer picture of the trend.
🎛️ Volume Oscillator: Your 0% Beat Check:
The Volume Oscillator is your go-to for checking the market's pulse. It's simple: look for it to be above 0% when considering a trade. This indicates that the market is vibing with enough volume to support your move, adding an extra layer of confidence to your strategy.
🚀 Trading Symphony:
Together, "Confluence Strategy," MACD (72/144), and a positive Volume Oscillator create a powerful trio. They align your trades with the market's rhythm and volume energy, setting you up for potentially harmonious and profitable trades.
Remember, the best tunes are played with practice. Test this setup, feel its rhythm, and when you're ready, let your trades sing on the market charts!
The Real Koops - Darvas Box v2.1What Is the Darvas Box?
The Darvas Box strategy was developed by Nicholas Darvas. Aside from being a well known dancer, he began trading stock in the 1950s. Based on his success in trading, he was approached to write a book on his strategy. The book, “How I Made $2,000,000 in the Stock Market,” outlines his approach together with “You can still make it in the market”.
Darvas Box Implementation
The intend behind the Darvas box was for it to be used for rapidly rising technology stocks, and in fact it was never tested or used by Darvas for Commodities. This implementation of the Darvas Box was created specifically in support of Commodity Trends, which tend to be very volatile over long periods of time. The main ones for an uptrend (e.g. longing the market. Shorting the market would work exactly the opposite):
1. When the price of a rapidly rising stock (pls note rapidly rising is key - we are not interested in a sideways trend) is reaching a resistance point, which is does not surpass for three or more consecutive days, that point represents the top of the box.
2. If, after falling from the upper limit, the stock reaches a downward resistance point which it does not penetrate for three of more consecutive days, that level represents the bottom of the box.
3. A stock is in a rising trend when it is in the topmost box. If it remains there, its price fluctuations should be ignored, and the stock is a HOLD.
4. If the price of the stock moves above the top of this topmost box, this stock becomes a BUY. A 10% stop loss should be set at the breakout.
5. Having formed a new higher box, if the price falls below the bottom into the stop loss area of this box, the stock is a SELL.
6. There is no reason to HOLD or BUY a stock that is not in its topmost box.
7. In case a candle pierces out of the top of the box while establishing the bottom of the box, the box is invalidated.
8. If the Box is broken out of on the top, the color is Yellow. If the Box is broken out of on the bottom, the color is Blue.
9. If a Box is being formed in the current timeframe, it is colored Grey, and has clear Buy and Stop Loss indicators so that the user knows how to configure his/her Broker.
10. All parameters for the implementation have been made configurable, so that users can tweak both the presentation of the boxes (background color, border width and style) as well as the configuration of the breakout %, stop loss %, textual presentation and box validation e.g. display arrows where the top and the bottom of the box was drawn, draw boxes only from All Time High back test after a configurable number of years, the number of boxes to be drawn from the last box etc.
11. In addition, two other key principles are critical for application of the indicator:
1. The stock’s price must be at or above its ATH for the past 3 years or more.
2. The volume profile needs to indicate a rapidly growing volume or insider buying (e.g., a volume spike).
How is this implementation different from others?
This implementation holds fully true to the way Darvas described his Darvas Box in his books, but applies it to Commodities. It is in addition, highly configurable, so that it can be used to debug itself (at which points have box boundaries been drawn), and it provides Buy/Sell/Stop Loss levels for entries and exits – again, highly configurable, with defaults set as per Darvas’ books.
Finally, it works over daily to quarterly timeframes (it is not suitable for high frequency trading).
How to use this Indicator?
First, use it with the default settings. Once a grey box is drawn for the current timeframe for the commodity you are interested in investing in (based on Darvas principles outlined above), this box will indicate a Buy level and a Stop loss level based on the principles described above, allowing you to make a purchase decision for that commodity asset accordingly. Then, stay the trade. As the stock continues to move up, more Darvas Boxes will be drawn with new Buy levels and stop loss levels – either add to your position or keep the original investment in play. Once a trend reversal occurs, the Stop loss level will be used to get you out of the trade.
Second, once you are comfortable with this trading methodology, you can refine the script to use a color scheme as you prefer for your Tradingview, as well as set buy, stop loss and sell levels, aligned with your own level of comfort to deal with volatility.
If you wonder why a certain box was drawn at certain levels, you can use the green and red arrows to show the levels based upon which the boxes were drawn.
Supply Demand Profiles [LuxAlgo]The Supply Demand Profiles is a charting tool that measures the traded volume at all price levels on the market over a specified time period and highlights the relationship between the price of a given asset and the willingness of traders to either buy or sell it, in other words, highlights key concepts as significant supply & demand zones, the distribution of the traded volume, and market sentiment at specific price levels within a specified time period, allowing traders to reveal dominant and/or significant price levels and to analyze the trading activity of a particular user-selected range.
In other words, this tool highlights key concepts as significant supply & demand zones, the distribution of the traded volume, and market sentiment at specific price levels within a specified time period, allowing traders to reveal dominant and/or significant price levels and to analyze the trading activity of a particular user-selected range.
Besides having the tool as a combo tool, the uniqueness of this version of the tool compared to its early versions is its ability to benefit from different volume data sources and its ability to use a variety of different polarity methods, where polarity is a measure used to divide the total volume into either up volume (trades that moved the price up) or down volume (trades that moved the price down).
🔶 USAGE
Supply & demand zones are presented as horizontal zones across the selected range, hence adding the ability to visualize the price interaction with them
By default, the right side of the profile is the volume profile which highlights the distribution of the traded activity at different price levels, emphasizing the value area, the range of price levels in which the specified percentage of all volume was traded during the time period, and levels of significance, such as developing point of control line, value area high/low lines, and profile high/low labels
The left side of the profile is the sentiment profile which highlights the market sentiment at specific price levels
🔶 DETAILS
🔹 Volume data sources
The users have the option to select volume data sources as either 'volume' (regular volume) or 'volume delta', where volume represents all the recorded trades that occur at a given bar and volume delta is the difference between the buying and the selling volume, that is, the net demand at a given bar
🔹 Polarity methods
The users are able to choose the methods of how the tool to take into consideration the polarity of the bar (the direction of a bar, green (bullish) or red (bearish) bar) among a variety of different options, such as 'bar polarity', 'bar buying/selling pressure', 'intrabar (chart bars at a lower timeframe than the chart's) polarity', 'intrabar buying/selling pressure', and 'heikin ashi bar polarity'.
Finally, the interactive mode of the tool is activated, as such users can easily modify the intervals of their interest just by selecting the indicator and moving the points on the chart
🔶 SETTINGS
The script takes into account user-defined parameters and plots the profiles and zones
🔹 Calculation Settings
Volume Data Source and Polarity: This option is to set the desired volume data source and polarity method
Lower Timeframe Precision: This option is applicable in case any of the 'Intrabar (LTF)' options are selected, please check the tooltip for further details
Value Area Volume %: Specifies the percentage for the value area calculation
🔹 Presentation Settings
Supply & Demand Zones: Toggles the visibility of the supply & demand zones
Volume Profile: Toggles the visibility of the volume profile
Sentiment Profile: Toggles the visibility of the sentiment profile
🔹 Presentation, Others
Value Area High (VAH): Toggles the visibility of the VAH line and color customization option
Point of Control (POC): Toggles the visibility of the developing POC line and color customization option
Value Area Low (VAL): Toggles the visibility of the VAL line and color customization option
🔹 Supply & Demand, Others
Supply & Demand Threshold %: This option is used to set the threshold value to determine supply & demand zones
Supply/Demand Zones: Color customization option
🔹 Volume Profile, Others
Profile, Up/Down Volume: Color customization option
Value Area, Up/Down Volume: Color customization option
🔹 Sentiment Profile, Others
Sentiment, Bullish/Bearish: Color customization option
Value Area, Bullish/Bearish: Color customization option
🔹 Others
Number of Rows: Specify how many rows the profile will have
Placment: Specify where to display the profile
Profile Width %: Alters the width of the rows in the profile, relative to the profile range
Profile Price Levels: Toggles the visibility of the profile price levels
Profile Background, Color: Fills the background of the profile range
Value Area Background, Color: Fills the background of the value area range
Start Calculation/End Calculation: The tool is interactive, where the user may modify the range by selecting the indicator and moving the points on the chart or can set the start/end time using these options
🔶 RELATED SCRIPTS
Volume-Profile
Volume-Profile-Maps
Volume-Delta
SMA/EMA/RSImagic 36.963 by IgorPlahutaTwo Elements in this script:
Alerts: These are notifications that draw your attention to specific market conditions. There are two types:
RSI Higher Lows or Lower Highs: This alert triggers when the Relative Strength Index (RSI) forms higher lows or lower highs.
RSI Exiting 30 (Up) or RSI Exiting 70 (Down): These alerts activate when the RSI crosses the 30 threshold upwards or the 70 threshold downwards.
ALL BUY/SELL: to catch both of them with one setting
To Set Up an Alert: To configure an alert, select the one relevant to your trading strategy, choose the "Greater than" option, and input a value of "0" (this essentially activates the alert). Adjust other settings as per your requirements.
Please note that these alerts should be used in conjunction with a system you trust for confirmation.
Moving Averages: This involves monitoring several moving averages:
SMA12, SMA20, EMA12, EMA20: These moving averages are highlighted with background colors to help you quickly identify changes or crossovers. They are superimposed on each other for easy comparison.
SMA 50, SMA200: These moving averages are also highlighted with background colors to spot crossovers, and their lines change color depending on their direction (falling in red or rising in green).
Enjoy using these tools in your trading endeavors!
ICT Daily BiasThis indicator is based on ICT's teaching - Daily Bias. Indicator tries to predict which direction (bias) the price will move in the near future and it can tell you in which direction should you take trades on the lower timeframe (buy or sell). It works on every timeframe but best to use on 1D timeframe. It can also show historical Daily Biases. Daily Bias can be BUY, SELL or NEUTRAL. If there is NEUTRAL Daily Bias then you should not take any trade because following price direction is not clear until the Daily Bias changes to BUY or SELL.
Current Daily Bias is shown in the right bottom corner.
Daily Bias can be calculated by 2 types: Previous H/L or Previous Swing H/L.
Previous H/L:
This calculation is based on previous H/L. If actual candle reaches previous high (red line by default) or low (green line by default) with wick then price should reverse into opposite direction. If actual candle closes with body above previous high (green line by default) or below previous low (red line by default) then price should continue in current direction. There are also colorful arrows showing the following daily bias based on previous candle.
Previous Swing H/L:
This calculation is based on previous untested swing H/L. If actual candle reaches previous untested swing high (red line by default) or low (green line by default) with wick then price should reverse into opposite direction. If actual candle closes with body above previous untested swing high (green line by default) or below previous untested swing low (red line by default) then price should continue in current direction. Lookleft and lookright period (default: 3) for swing H/L can be set in indicator settings. This period tells you how many candles left and right from the swing H/L need to be higher (swing low) or lower (swing high). Previous tested swing H/L are labeled by colorful (yellow by default) diamonds. There are also colorful arrows showing the following daily bias based on previous tested swing H/L.
All settings of this indicator should be self-explanatory and some of them have tooltips for better understanding.
Extreme Entry with Mean Reversion and Trend FilterThis non-repainting indicator is an improved version of my previous work, a more versatile tool designed to provide traders with dynamic and adaptive entry signals while incorporating a mean reversion and trend filtering mechanism. By combining RSI overbought/oversold, regular divergence and confirmatory momentum oscillator such as CCI or MOM, this indicator generates more precise and timely signals for entering trades.
The indicator offers a comprehensive set of entry conditions for both Buy and Sell entries:
• For Buy entries, it checks for oversold conditions based on RSI levels, and detects bullish divergence patterns while oversold and it identifies upward crossovers in the selected entry signal source (CCI or Momentum).
• Similarly, for Sell entries, it identifies downward crossovers of the CCI or Mom, after the recent overbought conditions, and bearish divergence patterns inside the overbought RSI.
To refine the entry signals even further, the indicator utilizes a mean reversion filter. Traders can choose to display signals that occur inside or outside the upper and lower mean reversion bands:
• Range Entries are indicating potential buying opportunities near the lower band and selling opportunities near the upper band. This is based on the concept of mean reversion, which suggests that prices tend to return to the average when they reach the upper or lower bands. By focusing on these signals, traders can take advantage of price movements that have a higher probability of reversing towards the mean.
• Extreme Entries, on the other hand, represent signals that occur outside of the bands, signaling potential pullbacks during strong trends. By entering positions only at extreme highs or lows, traders can avoid getting caught in the middle of the trend. This approach helps traders capitalize more favorable trading opportunities which have a high reward-risk ratio.
Trend Filter acts as a directional bias for the entry signals. When enabled, long and short entry conditions are filtered based on the relationship between the closing price and the EMA.
Traders have the flexibility to customize, tweak the indicator filter and values in the settings according to their preferences strategies and traded assets, tailoring the signals to their specific needs. The script sets alert conditions to trigger alerts for buy, sell, or both entry signals. This indicator can be used in conjunction with price action or other technical analysis tools for confirmation and better trading decisions.
I created this indicator for my own use, and I share this for informational purposes only. It does not constitute financial advice so use at your own risk and consider your financial situation before making any trading decisions. The indicator's accuracy is not guaranteed, and past performance is not indicative of future results.
I appreciate your feedback on this indicator. As I am new to script development, I am open to comments and suggestions to improve it. If you encounter any issues while using this indicator, please let me know in the comments section. If you find it helpful, I kindly ask for your support in boosting it. Thank you for your cooperation.
EMA Power BandsHello!
Today, I am delighted to introduce you to the "EMA Power Bands" indicator, designed to assist in identifying buying and selling points for assets moving in the markets.
Key Features of the Indicator:
EMA Bands: "EMA Power Bands" utilizes Exponential Moving Average (EMA) to create trend lines. These bands automatically expand or contract based on the price trend, adapting to market conditions.
ATR-Based Volatility: The indicator measures price volatility using the Average True Range (ATR) indicator, adjusting the width of the EMA bands accordingly. As a result, wider bands form during periods of increased volatility, while they narrow during lower volatility.
RSI-Based Buy-Sell Signals: "EMA Power Bands" uses the Relative Strength Index (RSI) to identify overbought and oversold zones. Entering the overbought zone generates a sell signal, while entering the oversold zone produces a buy signal.
Trend Direction Identification: The indicator assists in determining the price trend direction by analyzing the slope of the EMA bands. This allows you to identify periods of uptrends and downtrends.
Visualization of Buy-Sell Signals: "EMA Power Bands" visually marks the buy and sell signals:
- When RSI enters the overbought zone, it displays a sell signal (🪫).
- When RSI enters the oversold zone, it indicates a buy signal (🔋).
- When a candle closes above the emaup line, it displays a bearish signal (🔨).
- When a candle closes below the emadw line, it indicates a bullish signal (🚀).
By using the "EMA Power Bands" (EMA Güç Bantları) indicator, especially in trend-following strategies and periods of volatility, you can make more informed and disciplined trading decisions. However, I recommend using it in conjunction with other technical analysis tools and fundamental data.
*You can also use it with CCI as an example.
With this indicator, you can identify potential trend reversals in advance and strengthen your risk management strategies.
So, go ahead and try the "EMA Power Bands" (EMA Güç Bantları) indicator to enhance your technical analysis skills and make more informed trading decisions!
Binary Option Ultimate Backtester-V.1[tanayroy]The Binary Option strategy backtester gives the user extensive power to test any kind of strategy with advance trade management rules.
The strategy tester accepts external scripts as strategy sources. You can add your strategy and test it for historical stats.
Few assumption regarding strategy tester:
We are opening position at next candle after signal come
We are taking the position at opening price
Our call will be profitable if we get a green candle and put will be profitable if we get a red candle
We can open only one trade at a time. So if we are in trade, subsequent signals will be ignored.
How to make your strategy code compatible for strategy backtesting?
In your strategy code file add following lines:
Signal = is_call ? 1 : is_put ? -1 : 0
plot(Signal, title="🔌Connector🔌", display = display.none)
Is_call and is_put is your buy and sell signal. Plot the signal without displaying it in the chart. The new TradingView feature display = display.none, will not display the plot.
All Input options
Group: STRATEGY
Add Your Binary Strategy: External strategy to back test.
Trade Call/Put: Select CALL, to trade Call, PUT, to trade Put. Default is BOTH, Trading Call and Put both.
Number of Candles to Hold: How many candles to hold per trade. Default 1. If you want to hold the option for 30 minutes and you are testing your strategy in 15m intervals, use 2 candle holding periods.
GROUP: MARTINGALE
Martingale Level: Select up to 15 Martingale. Select 1 for no Martingale.
Use Martingale At Strategy Level: Instead of using Martingale per trade basis, using Martingale per signal basis. Like if we make a loss in the first signal, instead of starting martingale immediately we’ll wait for the next signal to put the martingale amount. For example if you start with $1 and you lose, at the next signal you will invest $2 to recover your losses.
Strategy Martingale Level: Select up to 15 Martingale at strategy signal level. Only workable if Use Martingale At Strategy Level is selected.
Type of Trade: Martingale trade type. Only workable if we are using Martingale Level more than 1.
It can be:
“SAME”: If you are trading CALL and incur a loss, you are taking CALL in subsequent Martingale levels.
“OPSITE”: if you are trading CALL and incur a loss, you are taking PUT in subsequent Martingale levels.
“FOLLOW CANDLE COLOR”: You are following candle color in Martingale levels, i.e if the loss candle is RED, you are taking PUT in subsequent candles.
“OPPOSITE CANDLE COLOR”: You are taking opposite candle color trade, i.e if the loss candle is RED, you are taking CALL in subsequent candle.
GROUP: TRADE MANAGEMENT
Initial Investment Per Option: Initial investment amount per trade
Payout: Per trade payout in percentage
Use Specific Session: Select to test trade on specific session.
Trading Session: Select trading session. Only workable if Use Specific Session is selected.
Use Date Range: Select to use test trades between dates.
Start Time: Select Start Time. Only workable if Use Date Range is selected.
End Time: Select end Time. Only workable if Use Date Range is selected.
Early Quit: Select to quit trade for the day after consecutive win or loss
Quit Trading after Consecutive Win: Number of consecutive wins. Only workable if early Early Quit is selected.
Quit Trading after Consecutive Loss: Number of consecutive losses. Only workable if early Early Quit is selected.
Buy/Sell Flip: Use buy signal for sell and sell signal for buy.
GROUP:STATS
Show Recent Stats: Show win trades in last 3,5,10,15,25 and 30 trades.
Show Daily Stats: Day wise win trades and total trades.
Show Monthly Stats: Month wise win trades and total trades.
Result and stat output:
Back tester without any strategy.
Strategy added with default option.
Stats with 7 Martingales. You can test up to 15.
Optional Stats:
Example Strategy code used :
//@version=5
indicator("Binary Option Strategy",overlay = true)
length = input.int(7, minval=1)
src = input(close, title="Source")
mult = input.float(3.0, minval=0.001, maxval=50, title="StdDev")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
fab_candle_upcross=(high< upper and low>basis)
fab_candle_downcross= (high< basis and low>lower)
up_cross=ta.barssince(ta.crossover(close,basis))
down_cross=ta.barssince(ta.crossunder(close,basis))
is_first_up=false
is_first_down=false
if fab_candle_upcross
for a=1 to up_cross
if fab_candle_upcross
is_first_up:=false
break
else
is_first_up:=true
if fab_candle_downcross
for a=1 to down_cross
if fab_candle_downcross
is_first_down:=false
break
else
is_first_down:=true
//strategy for buying call
is_call=(is_first_up or is_first_down ) and close>open
//strategy for selling call
is_put=(is_first_up or is_first_down ) and close
ProfitAlgoOverview
ProfitAlgo is a powerful and intuitive trading tool specifically developed to cater to the requirements of both beginners and experienced traders. It is designed to function in every timeframe and on all cryptocurrencies, stocks, indices, forex, futures, currencies, ETF's, energy and commodities. This innovative tool provides real-time signals, comprehensive trend analysis, and advanced risk management features, making it an indispensable asset for traders of all levels. This cutting-edge tool generates 'BUY' and 'SELL' signals, complemented by an array of robust analytical tools. Empower your trading analysis with this all-in-one solution and add to your arsenal of indicators to make well-informed decisions.
This algorithm incorporates a sophisticated Fourier smoothing technique to effectively filter price data, reduce noise and reveal underlying patterns and trends. By utilizing multiple price series data and incorporating Price Volume Trend, it leverages volume analysis and price movement patterns. Furthermore, the algorithm employs relative and simple moving average calculations to enhance signal clarity and filter out outliers, resulting in a more refined and robust indicator.
Features
Buy/Sell signals: Visually illustrated by 'BUY' and 'SELL' labels, these signals provide indications to traders about optimal times to enter or exit positions in the market based on the particular asset they are trading. Traders may want to enter long positions when buy signals appear, and enter short positions when 'SELL' signals appear.
Stop Loss/Take Profit Levels: Stop loss and take profit levels are predefined price thresholds that allow traders to automatically exit trades to limit losses or secure profits, respectively. Stop loss and take profit levels are visually depicted through three dotted lines on the trading chart, including the entry price, take profit (TP), and stop loss (SL). Additionally, a table displays the corresponding price entries for all three levels, providing a comprehensive overview of the trade. Traders can effectively manage their risk and optimize their trading by implementing predefined threshold settings and establishing take profit levels, thus safeguarding their profits using a strategic approach.
Support and Resistance Levels: Support and resistance levels are key price levels in the market that act as barriers or turning points for the price movement of an asset. Traders utilize these levels to identify potential areas of buying and selling opportunities. These can be depicted as red (resistance) and green (support) horizontal lines. These levels can serve as valuable complements to stop/loss and take profit levels, providing confirmation for profit-taking opportunities and facilitating effective risk management. Moreover, they can synergistically work alongside the price lines to identify potential reversal zones by visualizing market highs/lows in conjunction with areas of supply & demand.
Moving Average Bands: Moving average bands, plotted alongside the price data, dynamically change color based on the prevailing trend, with red indicating a downtrend and green representing an uptrend. This visual tool provides valuable insights to users, allowing them to quickly identify and interpret market trends. Integrating Moving Average bands with our buy/sell signals offers added confidence in identifying market trends, enabling traders to seek validation and enhance their decision-making process.
Trend Table: The trend table provides real-time information on the current trend of an asset, displaying three distinct outputs: "Uptrend," "Downtrend," and "Ranging Trend." This valuable tool enables users to assess the live trend of an asset, which may differ from the buy/sell signals. The primary objective of this feature is to analyze real-time trends in both ranging and trending market conditions. While the current signal may indicate a 'BUY' signal, the table can present an alternative output, providing valuable insights for traders and investors.
Price Lines: Price lines are depicted as two parallel grey lines running alongside the price data, representing the highs and lows of the market. This visual tool is utilized to identify patterns of higher highs and lower lows, enabling traders to gain insights into the overall trend and potential reversals in the market. When used in conjunction with our signals, MA bands and trend table, it may reinforce your interpretation of the underlying trend as well as provide insights into the trend strength.
*Note: These features are customizable via the settings menu in TradingView.
Calculations
How are buy/sell signals calculated?
The buy and sell signals are generated through a comprehensive calculation process that encompasses various types of analysis techniques. With permission from the author, wbburgin's Fourier transform is utilized to filter and extract relevant information from the price data, removing noise from the signals (filter is only applied in this feature). The buy and sell conditions are calculated based on a combination of volume-based analysis, and price movement patterns, employed to assess the direction and strength of market trends. The combination aims to produce a comprehensive view of both volume-based and price-based market dynamics. By integrating these analysis techniques, traders can gain insights into the relationship between volume, price, and market trends. This combined approach, as well as Fourier smoothing, can help identify potential market reversals, confirm trend strength, produce less noisy data and provide additional confirmation signals for trading decisions. By considering the insights provided by this analysis, the algorithm determines the appropriate actions, signaling the opportunities to enter or exit positions in the market. In summary, these calculations aim to identify favorable trading opportunities by considering factors such as trend strength, volume dynamics, and price patterns, ultimately assisting traders in making well-informed decisions in the market.
How are stop/loss and take/profit levels calculated?
The stop loss and take profit levels are calculated using a combination of technical factors, including the Average True Range (ATR) and Exponential Moving Average (EMA). The rationale for this combination is to enable dynamic risk management and align profit targets with the prevailing market conditions; ATR provides a measure of volatility and risk, while EMA helps identify the underlying trend, allowing for effective stop-loss and take-profit placement. These indicators are utilized to gauge market volatility and determine suitable levels for managing risk and securing potential profits. By incorporating ATR and EMA calculations, the algorithm generates dynamic stop loss and take profit levels that adapt to market conditions.
Calculating support and resistance levels
These levels help identify areas where the price tends to find support (support levels) or encounter resistance (resistance levels). This script utilizes pivot point calculations to determine these significant price levels, which can assist traders in trading decisions regarding potential price reversals, trend continuations, and entry/exit points in their strategies.
What are the moving average bands based on?
The moving average bands, based on VWMA (Volume Weighted Moving Average) calculations using OHLC4 price data, are visualized as unique bands on the chart. VWMA bands are chosen to find trends because they effectively combine volume-weighted calculations with moving averages, providing valuable insights into the strength and direction of price movements. These bands dynamically change color to reflect the prevailing trend. In an uptrend, the bands are represented by a green color, while in a downtrend, they appear in red. The VWMA bands utilize a unique counting method to capture trend movements and potential reversals.
How is the Trend Table calculated?
The underlying trends in the trend table are calculated based on counting methods applied to the VWMA bands. It utilizes specific thresholds to determine different trends, such as "Up Trend," "Down Trend," and "Ranging Trend." These thresholds are used to assess the current trend of the asset and provide valuable insights for traders.
Price Lines Calculation
The price lines are calculated based on the price data. They represent the range of prices, with one line plotted above the closing price and another line plotted below it. The space between these lines is filled to visualize the price volatility. Traders can utilize these lines to identify significant price levels and observe the overall price movement.
Disclaimer:
The information provided in my indicators/strategies/systems is not intended as financial advice. I assume no responsibility for any losses or damages, including loss of profits, resulting from the use of or reliance on such information.
All investments carry risks, and past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors bear full responsibility for their investment decisions, which should be based on their own evaluation of financial circumstances, investment objectives, risk tolerance, and liquidity requirements.
Please note that my indicators/strategies/systems are solely for educational purposes! DO NOT request access in the comment's section.
Volume Suite - By Leviathan (CVD, Volume Delta, Relative Volume)Volume Suite is an all-in-one script that includes several volume-based indicators such as CVD, Volume Delta, Relative Volume, Buy/Sell Volume, Cumulative Relative Volume and more. Additionally, it offers fully customisable appearance and features for improved data visualization, such as highlights for high volume activity, small price changes with high volume, or large price changes with low volume and more.
Data available in version 1:
- Volume Delta
Volume Delta is the net difference between Buy Volume and Sell Volume at a given bar. Positive Delta indicates that Buy Volume > Sell Volume, while Negative Delta means that Sell Volume > Buy Volume. As there is not way to get tick data on Tradingview, calculating Volume Delta is improvised by using the direction of lower timeframe candles and their volume.
- Cumulative Volume Delta (CVD)
CVD is a running total/cumulation of Volume Delta values, where positive VD gets added to the sum and negative VD gets subtracted from the sum. It can be used for trend strength analysis, divergence strategies, sentiment, etc.
- Buy/Sell Volume
Buy and Sell Volume provides an insight into volume activity in a given bar by estimating the buying/selling volume based on the direction of lower timeframe candles and their volume.
- Relative Volume
Relative Volume is used to compare current trading volume to past trading volume over a given period. For instance, a relative volume of 1.0 indicates that volume is at an average level, while a relative volume of 2.0 suggests that the volume is twice as high as the average.
- Cumulative Relative Volume (CRVOL)
CRVOL is a running total/cumulation of Relative Volume values, where RVOL at close>open gets added to the sum and RVOL at close
Market Structure & Price Action Toolkit (Expo)█ Overview
This comprehensive Market Structure and Price Action toolkit integrates pioneering price action concepts, including fractal-based market structure, grid-price action system, retail and institutional levels/zones, liquidity concepts, and a plethora of advanced customization options to give you a trading advantage via price action automatically. Different from traditional technical indicators, which can be lagging, complex, and cluttered, this indicator focuses solely on raw price data to deliver accurate and real-time insights. All the features in this script originate exclusively from price action, concentrating on fractals-based swing highs, swing lows, and market structure. This enables users to automate their price action analysis across any market or timeframe.
The toolkit focuses on the real-time application of price data rather than historical data to ensure its usefulness for price action and smart money (ICT) traders. With this indicator, users can automate their price action analysis across various markets and timeframes, gaining a significant edge in their trading strategies.
█ Features and How They Work
█ Trading Systems
Market Structure:
Market Structure deals with the interpretation of price action that forms the market structure, focusing on understanding key shifts and changes in the market that may indicate where 'smart money' (large institutional investors and professional traders) might be moving in the market. This feature is based on real-time fractals instead of static pivot points. Fractals are based on the idea that markets are patterned, and those patterns repeat themselves on all scales – hence, the term "fractal", which means "fraction of the whole". The function uses fractal zones that refer to areas where the price is likely to experience a change in direction. These zones are identified by observing a series of fractal points.
Grid:
The grid system works similarly to the market structure but displays the data as a grid of support and resistance zones. This is a new and unique approach to understanding market structure. It might be a more convenient way for traders to understand how to act.
█ Retail Zones
Support/Resistance:
Support and Resistance zone are often seen and displayed with a delay. This feature is 100% real-time and displays SR levels as the price reacts and forms new highs and lows.
Confirmed Support/Resistance:
As the name suggests, the confirmed zone is first displayed on the chart when the price has reacted to a high/low formation over x period of time. This feature is handy to trade retest after breakouts of the zone.
We wanted to keep the retail zones simple regarding how they work and function to help all kinds of traders understand how to use them.
█ Institutional Zones
Supply/Demand:
Calculating supply and demand in its raw form is challenging due to the complexity and dynamism of financial markets. However, the function uses several concepts to gauge supply and demand levels.
Buying and Selling pressure: The buying pressure represents the highest price point (over x period and volume), while the selling pressure price represents the lowest price point (over x period and volume). The gap between the two is known as the buying/selling pressure spread. A narrow spread often signifies high liquidity and balanced supply and demand, while a wider spread might indicate imbalances.
Price Trends: Upward price movements indicate higher demand, while downward trends may suggest increased supply.
Order blocks:
Order blocks are similar to supply/demand, and the main difference is that an order block is created at specific price action and market structure patterns.
█ How to use the Market Structure Toolkit
Market Structure
Market Structure + Confirmed S/R
Grid System
Demand Zone
Supply Zone
Order Block
Support/Resistance Zones
Confirmed Support/Resistance Zone
Retest of SR Levels
█ Why Use Price Action and Market Structure
A comprehensive trading strategy often involves using both price action and market structure. Traders can use price action to understand the immediate behavior of the price and market structure to understand the broader context within which the price is moving.
Market Structure combined with Price Action refers to the observable pattern of price movement. Traders use this structure to identify trend direction (up, down, or sideways), market phase (trend or range), and key price levels (like support and resistance).
Here are some core concepts within price action trading:
Trend Identification: This is a fundamental aspect of price action trading. By simply looking at the raw price data on a chart, traders can identify whether the instrument is in an uptrend (making higher highs and higher lows), a downtrend (making lower highs and lower lows), or ranging sideways.
Support and Resistance Levels: These are horizontal lines drawn on a chart where the price has historically had difficulty moving beyond. Support is a price level where buying pressure is strong enough to prevent the price from falling further, while resistance is a level where selling pressure is strong enough to prevent further price increases.
Candlestick Patterns: Price action traders rely heavily on candlestick patterns, which can provide a lot of information about market sentiment.
Chart Patterns: In addition to individual candlestick patterns, price action traders often look for larger chart patterns like double tops/bottoms, triangles, wedges, head and shoulders patterns, and more. These patterns can take longer to form but can also provide insight into potential price movement.
Price Zones: Rather than exact price levels, many price action traders consider zones of support and resistance, understanding that market behavior isn't always perfectly precise. A zone might cover a small range of prices at which the market has repeatedly reversed in the past.
The idea behind price action trading is that the price itself can provide clues to what the market might do next. Traders who follow this approach believe that price is the final determinant of value and contains all the information needed.
█ Any Alert Function Call
This function allows traders to combine any feature and create customized alerts. These alerts can be set for various conditions and customized according to the trader's strategy or preferences.
█ In conclusion, This toolkit is particularly useful for price action and smart money traders, as it prioritizes real-time application of price data, which in turn allows a more responsive and informed decision-making process in trading.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
ChanLun ProChanLun, also known as Entanglement Theory or "缠论", is a highly regarded technical analysis methodology that originated in China. Since its introduction in 2006, ChanLun has rapidly gained significant attention and a strong following within the Chinese trader community due to its exceptional ability to navigate complex market dynamics.
ChanLun places great emphasis on market structure, price action, momentum, and the intricate interplay between market forces. It recognizes that the market operates in cyclical patterns and aims to capture the underlying structure and rhythm of price movements. Through meticulous analysis of the intricate relationships between price and time, it provides traders with a unique perspective on market trends, potential reversals, and critical turning points.
This indicator offers a meticulous and comprehensive implementation of the ChanLun theory. It facilitates in-depth analysis and visual representation of all essential components, encompassing “Candlestick Conversion”, "Candlestick Standardization", "Fractal", "Stroke", "Segment", "Pivot", and "Buying/Selling Point".
🟠 Algorithm
🔵 Step 1: Candlestick Conversion
In ChanLun, candlestick analysis focuses less on the opening/closing prices and wicks, but rather emphasizes the price range at which the stock price has reached. As a result, the initial step in ChanLun involves converting each candlestick to contain solely the high and low prices, disregarding other elements.
🔵 Step 2: Candlestick Standardization
In the second step, the converted candlesticks are standardized to ensure strict directional consistency and eliminate the presence of inner bars or outer bars. For any adjacent two candlesticks A and B where one’s price range completely encompasses another, A and B are merged into a new candlestick C. If A is trending up from its previous candle, then C will be defined such that high(C) = max(high(A), high(B)) and low(C) = max(low(A), low(B)). If A is trending down from its previous candle, then C will be defined such that high(C) = min(high(A), high(B)) and low(C) = min(low(A), low(B)).
After completing these steps, when considering any adjacent candlesticks A and B, we can always observe either of the following conditions:
1. high(A) > high(B) and low(A) > low(B)
2. high(A) < high(B) and low(A) < low(B)
The chart below illustrates how the candlesticks would appear after this step.
🔵 Step 3: Fractals
A "Fractal" refers to the pattern formed by three consecutive "standardized" candlesticks, where the middle candlestick shows a clear higher or lower value compared to the surrounding candlesticks. When considering three adjacent candlesticks, A, B, and C, we have either of the two conditions:
1. high(B) > high(A) and high(B) > high(C) and low(B) > low(A) and low(B) > low(C)
2. high(B) < low(A) and high(B) < low(C) and low(B) < low(A) and low(B) < low(C)
For #1 above, we refer to the combination of A, B, and C as a “Top Fractal”, whereas for #2 we designate it as a “Bottom Fractal”.
The chart below illustrates all the fractals, with the red triangles indicating the Top Fractals and the green triangles indicating the Bottom Fractals.
🔵 Step 4: Strokes
A “Stroke” is a line connecting a top fractal and a bottom fractal, subject to the following rules:
1. There must be at least one "free" candlestick positioned between these fractals, meaning it is not part of either the top or bottom fractal. This guarantees that a stroke encompasses a minimum range of five candlesticks from beginning to end.
2. The top fractal must have a higher price compared to the bottom fractal.
3. The endpoint fractals should represent the highest or lowest point throughout the entire span of the stroke. (There is an option within this indicator to enable or disable this rule.)
Strokes enable traders to identify and visualize significant price swings or trends while effectively filtering out minor fluctuations.
🔵 Step 5: Segments
A "Segment" is a higher-level line that connects the starting and ending points of at least three consecutive strokes, reflecting the current trend of the market structure. It continues to extend as new strokes emerge, until there is a break in the market structure. The break occurs when an uptrend forms a lower high and lower low, or when a downtrend forms a higher high and higher low. It's worth noting that during trading ranges, it is common for strokes to exhibit a higher high and lower low or a higher low and lower high pattern (similar to inner bars and outer bars). In such cases, the strokes will be merged in a similar manner as described earlier for candlesticks, until there is a distinct break in the market structure. Segments provide a relatively stable depiction of the market trend in a higher timeframe, as opposed to strokes.
It is important to note that the algorithm used to calculate segments from strokes can be recursively applied to the generated segments again, forming higher-level segments that represent the market trend on a even larger timeframe.
🔵 Step 6: Pivots
In ChanLun, the term "Pivot" does not indicate a price reversal point. Instead, it represents a trading range where the price of a security tends to fluctuate. Within a given "Segment," the pivot is determined by the overlap of two consecutive strokes moving in the opposite direction of the segment. When two downtrend strokes A and B form a pivot P within an uptrend segment S, the upper and lower bounds of the pivot are defined as follows:
1. upper(P) = min(high(A), high(B)
2. lower(P) = max(low(A), low(B))
The pivot range is typically where consolidation occurs and where there is a high trading volume.
If a future stroke, moving in the opposite direction of the current segment, overlaps with the upper and lower bounds of the pivot, it is merged into the existing pivot and extends the pivot along the x-axis. A new pivot is formed when two consecutive strokes moving in the opposite direction of the current segment, intersect with each other without overlapping the previous pivot.
Likewise, pivots can also be recursively identified within the higher-level segments. The blue boxes below represent the "Segment Pivots" that are identified within the context of higher-level segments.
🔵 Step 7: Buying/Selling Points
There are three types of buying/selling points defined in ChanLun.
1. Type 1 Buying and Selling Points: Also known as trend reversal points. These points are where the old segments terminate and new segments are generated.
2. Type 2 Buying and Selling Points: Also known as trend continuation points. These points occur while the price is in the midst of a trend and signify the continuation of the trend. In an uptrend, the Type 2 buying point is the rebound point after the price retraces to a previous low or support level, indicating that the price may continue to rise. In a downtrend, the Type 2 selling point is the pullback point after the price rallies to a previous high or resistance level, indicating that the price may continue to decline.
3. Type 3 Buying and Selling Points: These points indicate the retests of breakouts from pivot ranges. The presence of these retest points suggests that the price has the potential to continue its upward/downward movement above/below the pivot levels.
A discerning reader may notice that these buying/selling points are lagging indicators. For example, by the time a new segment is confirmed, multiple candlesticks have already occurred since the type 1 buying/selling point of that segment.
Indeed, it is true that the buying/selling points lag behind the actual market movements. However, ChanLun addresses this issue through the utilization of multi-timeframe analysis. By examining the confirmed buying/selling points in a lower timeframe, one can gather additional confidence in determining the overall trend of the higher timeframe.
🔵 Step 8: Divergence
Another core technique in ChanLun is the application of divergence to anticipate the emergence of type 1 buying/selling points. While MACD is the most commonly employed indicator for detecting divergence, other indicators such as RSI can also be utilized for this purpose.
🟠 Summary
In essence, ChanLun is a robust approach to technical analysis that integrates the careful examination and interpretation of price charts, the application of technical indicators and quantitative tools, and a keen attention to multiple timeframes. Its objective is to identify prevailing market trends and uncover potential trading prospects. What sets ChanLun apart is its holistic methodology, which blends both qualitative and quantitative analysis to facilitate informed and successful trading decisions.
🟠 NOTE
The freely available "ChanLun | AlgoTrader" script, published by the same account, incorporates only a limited set of fundamental concepts from ChanLun.
In contrast, this script is a premium invite-only version that represents a comprehensive implementation of the complete ChanLun methodology, specifically tailored for more experienced and professional traders.
________________________________________________________________________________
该指标严格按照缠论原文实现了包括“K线标准化”、“分型”、“笔”、“线段”、“中枢”和“买卖点”在内的所有关键元素。它旨在为缠友们提供一个准确可靠的缠论实现,以便快速而精准地分析市场,从而获得更优秀的交易业绩。
该指标的主要特点如下:
1. 实时标记所有缠论元素:该指标具备实时识别和标记分型、笔、线段、中枢和买卖点的功能,提供清晰的信号和准确的趋势判断。
2. 多种笔段算法选择:提供三种不同的笔算法(“老笔”、“新笔”和“4K”)以及两种线段算法(“特征序列”和“1+1终结”),满足不同交易者个性化需求,可根据偏好和策略选择最适合的算法。
3. 三级别联立:指标同步计算并显示笔、线段和递归高级段,提供更全面的市场动态分析。
4. 自定义颜色:用户可以根据个人喜好和需求自定义指标的颜色方案,与图表风格和视觉需求完美匹配。
5. 完美实现K线回放功能:指标充分利用了K线回放功能,让交易者能够回顾和分析历史市场数据,提高对市场趋势的研究和理解,增强市场洞察力和决策能力。
Z Algo (Expo)█ Overview
Z Algo (Expo) is a sophisticated and user-friendly trading tool designed to meet the needs of both novice and seasoned traders. With its real-time signals, trend analysis, and risk management capabilities, this tool can be a valuable addition to any trader's toolkit.
█ Main Features & How to Use
Buy/Sell signals: Z Algo provides real-time buy and sell signals, which assist traders in identifying the most opportune moments to enter or exit a trade.
Strong Buy/Sell signals: In addition to regular buy and sell signals, the tool also offers strong buy and sell signals. These are generated when the market conditions align with a higher probability of a significant price movement.
Sniper Signals: This feature is specifically designed for contrarian traders who look to exploit temporary market inefficiencies or take advantage of price reversals. When enabled, Sniper Signals identify potential market turning points, offering traders the opportunity to profit from sharp price fluctuations.
Reversal Cloud: The Reversal Cloud is a unique visual representation of the market's potential trend reversals. It offers traders an easy-to-understand display of changing market dynamics, enabling them to quickly identify potential entry and exit points based on trend reversals.
Support and Resistance (S/R) Levels: Z Algo automatically calculates and displays support and resistance levels on the chart. These are crucial price points where buying or selling pressure may change, providing valuable insights for traders looking to enter or exit positions based on these levels.
Trend Tracker: This feature helps traders monitor and analyze the prevailing market trend. Trend Tracker identifies and highlights the direction of the trend, allowing traders to align their strategies accordingly and increase their chances of success.
Trend Background Color: To improve the user experience and simplify the interpretation of market data, Z Algo changes the chart's background color based on the identified trend direction. This visual cue makes it easier for traders to recognize bullish or bearish trends at a glance.
Bar Coloring: In addition to the trend background color, Z Algo also provides bar coloring for both contrarian and trend bars. This feature helps traders visualize price movements and trends more effectively, enabling them to identify potential opportunities for both trend-following and contrarian trading strategies.
Risk Management: The tool incorporates risk management features that help traders to protect their capital and maximize potential returns. Users can set stop-loss and take-profit levels, as well as customize their risk exposure according to their individual preferences and trading style.
█ Calculations
█ What are the Buy/Sell signals based on?
The Buy/Sell signals use volatility and price range with a weighting function that can help reduce lag and respond faster to recent price changes. The function gives more weight to the most recent volatility values and absolute price changes, making the algorithm more responsive to changes in volatility and price moves. Using a model that factors in both price changes and volatility gives a bias toward more recent data. This advanced approach to trading signal generation incorporates the concepts of trend following and mean reversion while accounting for changing market volatility.
Traditional systems often use fixed parameters, which may not adapt quickly to changes in market conditions. This can lead to late entries or exits, potentially reducing profitability or increasing risk. Our algorithm uses a weighting function to give more importance to recent volatility values, and absolute price changes can make these signals more responsive. This is especially useful in dynamic markets where price swings and volatility can change rapidly.
Adapting to Recent Price Changes: Markets can often exhibit trending behavior over certain periods. By weighing recent price changes more heavily, the model can quickly identify and react to the emergence of new trends. This can lead to earlier entries in a new trend, potentially increasing profitability.
Adapting to Recent Volatility Changes: Markets can shift from low to high volatility regimes (and vice versa) quite rapidly. A model that gives more weight to recent volatility can adapt its signals to these changing conditions. For example, in high volatility conditions, the model might generate fewer signals to reduce the risk of false breakouts. Conversely, in low volatility conditions, the model might generate more signals to capitalize on trending behavior.
Adaptive Trading: The approach inherently leads to an adaptive trading system. Rather than using fixed parameters, the system can adjust its behavior based on recent market activity. This can lead to a more robust system that performs well across different market conditions.
█ What are the Sniper signals (contrarian signals) based on?
Our contrarian signals are based on deviation from the expected value. The algorithm quantifies the amount of variation or dispersion in a set of values. Non-expected values are the fundamental core of the signal generation process.
█ Reversal Cloud Calculation
The cloud uses the information of how much the price fluctuates over a specific time period and updates its equilibrium value automatically at new price changes. The price changes are used to predict what will happen next, and the band adapts accordingly. The algorithm assumes that past price changes can predict future market behavior.
█ Support and Resistance (S/R) Levels Calculation
The support and resistance levels use historical overbought and oversold levels combined with a weighted atr function to predict future support and resistance areas. This calculation can potentially give traders a great heads-up on where the price may find support and resistance at.
█ Trend & Bar coloring Calculation
Trend calculations with dynamic events are key in ever-changing markets. The main idea of the calculation method is to find the mathematical function that best fits the data points, by minimizing the sum of the squares of the vertical distances of each data point from the equilibrium. The outcome is a function that finds the best mathematical description of that data. Hence the trend output may vary depending on the asset and timeframe. A unique approach where the same settings can give different results.
█ Risk Management Calculation
The risk management system is not unique in itself and contains everything that can help traders to manage their risk, such as different types of stop losses, Take Profits calculations.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Excess Invites Punishment (EIP) by Scipio ProScipio Pro's EIP is a reversal indicator. It is based on two types of evidence.
1) Proof of Fatigue -- The move that triggers the signal is losing momentum
2) Proof of Excess -- The move that triggers the signal is excessive
If both are the case, we get a signal.
The script uses standard deviations and Bollinger Bands for measuring excess and the ATR for the Breakout Continuation Protection (see below). For fatigue, the EIP detects divergences from indicators like OBV, MACD, RSI and more. It expresses these with a number. For example, if the EIP detects 9 bullish divergences, it prints the number 9 below the corresponding candle.
Hesitant Buy and Hesitant Sell mean there may have been a breakout recently, as measured with the ATR, meaning there is an increased likelihood of continuation. These can provide good buys or sells but more caution is warranted. You can adjust the so-called Breakout Continuation Protection in Settings. Doing so may lead to either more or less "hesitant" signals.
The signals don't repaint. Of course, the divergences get recalculated as the market evolves, as they should. But signals like Buy, Sell, Hesitant Buy, and Hesitant Sell never repaint.
The EIP is useful on many different time-frames and with many different assets, be they in stocks or crypto. The images below show results from BTC, MATIC, and S&P 500 over multiple years, both on small and large time-frames.
As always, use at your own risk. Using indicators is no substitute for using one's brain.
Weis Wave With Speed Index SignalsWeis Wave with Speed Index Signals
The Concept
This indicator has been created to try to quantify "Change in Behavior" concept and provide buy and sell based on this concept. What is Change in Behavior? Price is moving at speed rate based on the trading volume direction (buyers and sellers) until there is imbalance of Supply/Demand. An algorithm has been created to identify this change of Supply/Demand behavior producing a number called "Speed Index". Abnormal Speed Index notes this change in behavior when compared with previous Speed Index numbers of the same pair and in the same timeframe. Speed Index is a relevant number and it's use is to be compared with previous Speed Index numbers and not as an absolute number. Based on Speed Index Behavior of recent waves, price and price wave structure buy and sell signals are available called Plutus.
What it does
This indicator draws a waveline of price waves swings. Up swing is when price goes up and down swing is when price goes down. It adds the volume of each bar within the wave swing, it measures the distance in pips of each swing and measure the numbers of bars of each swing. Furthermore, it creates the Speed Index of each swing, the average Speed Index of x selectable wave swings back as well as the average of Speed Index of the x up swings back and the average of the down swing. The indicator is also able to designate a Fast wave which means large pip move with small volume with the letter "F" displayed next to Speed Index and a Slow wave which small pip move with small volume with the letter "S". Finally based on price, Speed Index history and structure it creates eight buy/sell signals called Plutus.
Information available for display all selectable
For each wave swing: Total Volume, Pip Distance, Number of Bars or Total Volume + Pips or Total Volume + Pip Distance+Total Number of Bars
For each wave swing: Speed Index or Total Volume + Speed Index or Speed Index + Average Speed Index or Speed Index+(F or S).
Plutus buy and sell signals when criteria of price location, speed index comparison (abnormal speed index) and wave price structure have been met.
How it does it
This indicator draws a wave-line of price waves swings. Wave Sensitivity can be adjusted by AutoSensitivity parameter (min value =2 and max value=11). The larger the number the more sensitive it is, which means more wave swings will be created. All calculations are based on each wave swing. The code calculates all the above mentioned on the "Information available for Display" section. Based on price, Speed Index history, Speed Index ratio and structure Plutus buy and sell signals are created. The default value of Speed Index ratio is 2. Decreasing Speed Index ratio will create more signals while increasing it will create less signals.
Note: last wave re-paints and no information is displayed on the forming wave, but the whole trading methodology is based on reading previous waves information.
Technical Information
Speed Index
High Speed Index number means a slow wave "S" = Abnormal Speed (high volume small pip move)
Low Speed Index number means a fast wave "F" =Anormal Speed (small volume large pip move)
Normal Speed Index number (are the more frequent numbers seen in the chart which means that the market agrees with the move).
Plutus Signals
PL - Plutus Long, this is when the price will follow in the same direction of the wave with the High Speed Index. When signal is generated we enter when price close breaks the previous two wave structure Resistance Level
PS - Plutus Short, same as above, this is when the price will follow in the same direction of the wave with the High Speed Index. When signal is generated, we enter when price close breaks the previous two wave structure Support Level
PRL - Plutus Reversal Long, this is when the price will go in the opposite direction of the wave with the High Speed Index.
PRS - Plutus Reversal Short, same as above, this is when the price will go in the opposite direction of the wave with the High Speed Index.
PFL - Plutus Fake Long, this when price will do a fast break of the previous down swing bottom and then comes back within the previous swing range (fake break)
PFL - Plutus Fake Short, this when price will do a fast break of the previous up swing top and then comes back within the previous swing range (fake break)
WU - Wyckoff Upthrust plutus (short signal)- this is when the last two swings resemble(are) Wyckoff's UpThrust pattern price swings. This resemblance together with Speed Index criteria and price break of structure create this signal.
WS - Wyckoff Spring plutus(long signal)- this is when the last two swings resemble(are) Wyckoff's pattern price swings. This resemblance together with Speed Index criteria and price break of structure create this signal.
How to use it
Draw Support/Resistance and Fib - usually supply and demand imbalance happens at his level
First and most important of all adjust AutoSesnsitivity to get your swings correct, meaning that are catching the tops and bottoms of each price wave swing.
Monitor Speed Index behavior. Be alerted from Abnormal Speed Index number. You can also set using the Extreme Threshold parameter that provide you an alert if the current Speed Index is above or below average Speed Index of x waves back and also meets the min and max bar criteria. For example if we would like to be alerted for a an Abnormal Speed Index of a Slow wave of at 3 bars then we have set the Min Slow Bar parameter to 3, the Extreme Threshold parameter to 0.5 (50%) and the Avg Waves back to 8 then an alert will be produced if the wave before the forming has at least 3 bars and the Speed Index of the wave is 50% higher than the Average Speed Index calculated from 8 waves back. For a Fast wave we can set the Min Fast Bars to 1, Extreme Threshold to 50% and Avg Waves back to 8 which means that we will get an alert if the wave before the forming one has at least 1 bar and it's Speed Index is at least 50% less than the Speed Index Average of 8 waves back.
Plutus signals provide buy and sell entries after specific criteria have been met. These signals have a higher success rate when price is exiting a range or when price is leaving from Support/Resistance or Fib. Consider Plutus signals invalid within a range unless is the exit of the range (Range Break)
What makes it unique
The ability to identify, quantify and be alerted of the Change in Behavior of waves swings when compared with recent previous wave swings making it easier for the trader to be notified about Supply / Demand imbalance. Furthermore, another unique point of this indicator is the Plutus signals providing buy and sell entries. Plutus entries take into consideration this Abnormal Behavior, the wave swings structure and price location.
Example Trades
Wyckoff Up- rust formation strategy- Reading the chart
1. We have broken a Resistance Level with a Fast Speed Index of 0.7F
2. Abnormal Speed Index of 2.3 provides the alert for abnormal Speed Index behavior. There is not a high Speed Index like that in all the up wave swings which automatic makes it abnormal Supply Demand imbalance.
3. WU - Wyckoff Up-trust plutus signal has been created, which means Short.
4. PRS - Plutus Reversal Short also created at the same location which makes the Short even a higher probability trade
5. Entry: We enter Short on the close of the bar
Exit from Range Strategy - Reading the chart
1. We are in a Ranging environment
2. PS and PRS are invalid signals because according to the rules mentioned previously we do not trade any signals created within the range when the price does not break the range.
3. PRL - Plutus Reversal Long which means that price will move in the opposite direction of the High Speed Index (the 2.2) is a valid signal since price breaks the top of the range
4. Entry Long after breaking the top of the range
PRL after Support hit Strategy and Exit from Range Strategy - Reading the chart
In this we have two different strategies available. The first one is Plutus Reversal Long signal after hitting support and the second on an Exit from Range.
The Story:
1. We have hit support (double bottom)
2. Speed Index 2.2 at the bottom is on the High side, not too extreme but on the high side.
3. A PRL long signal is generated which means that price will move in the opposite direction of the 2.2 Speed Index
4. Entry Long on the close of the bar- This trade has provided 482 pips of profit
5. Price goes into Range
6. Classic textbook strategy Exit from Range with Plutus. We get a PL Plutus Long signal which means price will follow the directions of the high Speed Index wave and in this case is the 2.7 wave
7. Entry Long after the range break. This trade provided 384 pips up to now.
RDX Relative Directional IndexRDX Relative Directional Index, Strength + Direction + Trend. This indicator is the combination of RSI and DMI or ADX. RDX aims at providing Relative direction of the price along with strength of the trend. This acts as both RSI and Average Directional Index. as the strength grows the RSI line becomes wider and when there is high volatility and market fluctuation the line becomes thinner. Color decides the Direction. This indicator provides sideways detection of RSI signal.
RDX Width: This determines the strength of RSI and Strength of ADX, The strength grows RDX band grows wider, as strength decreases band shrinks and merge into the RSI line. for exact working simply disable RSI plot on the indicator. when there is no strength the RSI vanishes..
Technical:
RSI : with default 14 period
ADX : Default 14 period
RDX=RSI+(ADX-20)/5
Color Code:
Red: Down Direction
Green: Up Direction
Sideways:
A rectangular channel is plotted on RSI 50 Level
Oversold Overbought:
Oversold and Overbought Levels are plotted for normal RSI Oversold and Overbought detection.
Buy/Sell:
Buy sell signals from ADX crossover are plotted and its easy to determine
Strength + Direction + Trend in one go
Hope the community likes this...
Contibute for more ideas and indicators..